import { sum, mul } from "./utils/math";
// import _ from "lodash";
import format from "./utils/format";
import "./css/style.css";
import App from "./vue/App.vue";
import { createApp } from "vue";

function foo() {
  console.log("foo exec");
  console.log(sum(20, 30));
  // console.log(_.join(["anc", "ccc"]));
  console.log(format.formatPrice());

  const message = "hello rollup";
  console.log(message);
}

foo();

// css
const titleEl = document.createElement("h2");
titleEl.textContent = "我是标题";
titleEl.className = "title";
document.body.append(titleEl);

// vue
createApp(App).mount(document.querySelector("#app"));
